package com.google.code.fluentjoiner.example;

import com.hazelcast.config.Config;
import com.hazelcast.core.Hazelcast;

public class HazelcastServerRunner
{
    public static void main(final String[] args)
    {
        final Config config = new Config();
        Hazelcast.init(config);
        Runtime.getRuntime().addShutdownHook(new Thread(new Runnable()
        {
            @Override
            public void run()
            {
                Hazelcast.shutdown();
            }
        }));
    }
}
